package com.itheima.POJO;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author zqystart
 * @create 2022-09-01-11:12
 */
@TableName("receiveorder")
@Data
public class ReceiveOrder {
    private Integer id;
    private String orderNo;
    private String shunDaiUsername;
    private Integer shunDaiMoney;
    private String shunDaiSend2Address;
    private String shunDaiReceiveAddress;
    private String shunDaiRequest;
    private Integer shunDaiTel;
//    @JsonSerialize(using=CustomDateTimeSerializer.class)
//    private Date createDate;//创建订单日期
//    @JsonSerialize(using=CustomDateTimeSerializer.class)
//    private Date payDate;//订单支付日期

    @TableField(select = false,exist=false)
    private List<ShunDai> shunDaiList;

    @TableField(select = false,exist=false)
    private ShunDai shunDai;
}
